import 'package:beacon/beacon.dart';

// Flutter 调用原生代码
@HostApi()
abstract class GTMessageChannelHostApi {

  // 处理消息
  void handleMessage(String actionType, String actionName, String messageJson);
}

// Flutter 调用原生代码
@FlutterApi()
abstract class GTMessageChannelFlutterApi {

  // 处理消息
  void handleMessage(String actionType, String actionName, String messageJson);

}